<template>
  <div class="huanying">
    <header>
    <div class="left" @click='home'><img src="../assets/img/未标题-2.png" ></div>
      <div class="center">{{msg}}</div>
      <div class="right"></div>
    </header>
    <main>
      <div class="lis">
        <div class="li">
          <dl>
          <dt><img src="../assets/img/huodong.png" height="190" width="182"></dt>
            <dd>
              <p>酱料</p>
              <p><span>144人参加</span></p>
            </dd>

          </dl>
        </div>
        <div class="li">
          <dl>
          <dt><img src="../assets/img/huodong.png" height="190" width="182"></dt>
            <dd>
              <p>酱料</p>
              <p><span>144人参加</span></p>
            </dd>

          </dl>
        </div>
        <div class="li">
          <dl>
          <dt><img src="../assets/img/huodong.png" height="190" width="182"></dt>
            <dd>
              <p>酱料</p>
              <p><span>144人参加</span></p>
            </dd>

          </dl>
        </div>
        <div class="li">
          <dl>
          <dt><img src="../assets/img/huodong.png" height="190" width="182"></dt>
            <dd>
              <p>酱料</p>
              <p><span>144人参加</span></p>
            </dd>

          </dl>
        </div>
      </div>
    </main>
  </div>
</template>

<script>
export default {
  name: 'shou',
  data () {
    return {
      msg: '热门活动'
    }
  },
  methods: {
    home: function () {
      this.$router.go(-1)
    }
  }
}
</script>

<style scoped lang="less">
  @import '.././assets/css/reset.css';
  @import '.././assets/css/index.less';
 

  header {
    .height(150);
    position: fixed;
    top: 0;
    width: 100%;
    background:#1a1a1a;
    display: flex;
    text-align: center;
    align-items: center;
      .left,.right{
        display: flex;

        .width(150);
        img{
          .height(60);
          display: block;
          margin: auto;

        }
      }
      .center{
       flex:1;
        .font-size(60);
        color: #be8f59;
      }
    }
    main{
      .padding(160,0,0,0);
      .lis{
        .li{
          border-top:5px solid #5e4f3d;
          background: black;
          .padding(20,20,20,20);
          dl{
            display: flex;
            color: #ffffff;
             .font-size(40);
            dt{
              img{
                .height(180);
              }

            }
            dd{
               flex:1; 
               p{
                .height(90);
                .line-height(90);
                span{
                  float: right;
                }
               }
            }
          }
        }
        .li:first-child{
          border:none;
        }
      }
    }

</style>
